html,
body,
#app {
  height: 100%;
  display: block;
  overflow: hidden;
}

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  color: $--color-text-primary;
}

::-webkit-scrollbar {
  width: 6px;
}

/*正常情况下滑块的样式*/
::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, .2);
  border-radius: 5px;
}

/*鼠标悬浮在该类指向的控件上时滑块的样式*/
:hover::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, .3);
}

/*鼠标悬浮在滑块上时滑块的样式*/
// ::-webkit-scrollbar-thumb:hover {
//   background-color: rgba(0, 0, 0, .3);
// }

/*正常时候的主干部分*/
::-webkit-scrollbar-track {
  background-color: transparent;
}

/*鼠标悬浮在滚动条上的主干部分*/
// ::-webkit-scrollbar-track:hover {
//   background-color: rgba(0, 0, 0, .01);
// }

*,
*:before,
*:after {
  box-sizing: border-box;

  &:focus,
  &:active {
    outline: none;
  }

}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
